<template>
	<view class="">
		<view class="upload">
			<image src="../../static/other/upload.png"></image>
			<text>点击加号上传藏品</text>
		</view>
		
		<view class="explain">
			说明：仅支持上传<text>JPG/PNG/CIF</text>格式的图片
		</view>
		
		<view class="info">
			<view class="item">
				<view class="name">藏品名称</view>
				<input placeholder="请添加藏品名称"/>
			</view>
			<view class="item">
				<view class="name">藏品分类</view>
				<input placeholder="请添加藏品分类"/>
			</view>
			<view class="item">
				<view class="name">藏品描述</view>
				<input placeholder="请添加藏品描述"/>
			</view>
		</view>
		
		<view class="read">
			<checkbox :value="value" :checked="checked"/>
			我已阅读并同意<text>《征集服务规则》</text>
		</view>
		
		<view class="submit">
			<button type="warn" size="default">确认提交</button>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				value:1,
				checked:true
			}
		}
	}
</script>

<style>
	.upload {
		width: 686rpx;
		height: 313rpx;
		border: 3rpx dashed #b5d5ff;
		margin: 20rpx auto;
		display: flex;
		flex-flow: column;
		align-items: center;
	}
	
	.upload image{
		width: 139rpx;
		height: 139rpx;
		margin: 40px 0 20rpx;
	}
	
	.upload text{
		color: #bd0505;
	}
	
	.explain{
		width: 353rpx;
		height: 18rpx;
		font-size: 18rpx;
		line-height: 28rpx;
		margin-left:20rpx;
		color: #333;
	}
	
	.explain text{
		color: #bd0505;
	}
	
	.info {
		padding: 0 20rpx;
		margin: 30rpx 0;
		font-size: 24rpx;
	}
	
	.info .item{
		display: flex;
		border-bottom:1rpx solid #f0f0f0;
		padding: 15rpx 0;
		font-size: 24rpx;
	}
	
	.info .item .name{
		font-weight: bold;
	}
	
	.info .item input{
		margin-left: 25rpx;
		font-size: 24rpx;
	}
	
	.info .item:last-child{
		border: none;
	}
	
	.read{
		padding-top: 35rpx;
		border-top: 1rpx solid #f0f0f0;
		font-size: 18rpx;
		margin:0 20rpx;
		margin-top: 130rpx;
		margin-bottom: 100rpx;
	}
	
	.read text{
		color: #bd0707;
	}
	
	.submit{
		margin:0 20rpx;
	}
</style>
